.body, html {
  line-height: 1;
  font-weight: 200;
  font-family: 'PingFang SC', 'STHeiTiSC-Light', 'Helvetica-Light', Arial, sans-serif;
}

.border-1px(@color) {
  position: relative;
  &:after { /*伪类*/
    content: ''; /*伪类的文本*/
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    border-top: 1px solid @color;
  }
}

.bg-images(@url) {
  background-image: url("@{url}@2x.png");
  //设置像素比为3的手机背景图片
  @media (-webkit-min-device-pixel-ratio: 3),(min-device-pixel-ratio: 3) {
    background-image: url("@{url}@3x.png");
  }
}

.border-none() {
  &:after {
    display: none;
  }
}
